name: tests221 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin:/opt/pyenv/bin:/tmp/venv-oHcZ/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PYTHONHASHSEED: 2465379196 env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONIOENCODING: utf-8 env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env TOX_ENV_NAME: tests221 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221 metadata pid: 40846 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests221/bin/*:launch_tests.sh cmd: ./launch_tests.sh 2.2.1 exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/2.2.1/test01_portmapping.py ................................... [100%] 35 passed in 77.29s (0:01:17) pytest -q transportpce_tests/2.2.1/test02_topo_portmapping.py ...... [100%] 6 passed in 46.86s pytest -q transportpce_tests/2.2.1/test03_topology.py ............................................ [100%] 44 passed in 137.35s (0:02:17) pytest -q transportpce_tests/2.2.1/test04_otn_topology.py ............ [100%] 12 passed in 59.35s pytest -q transportpce_tests/2.2.1/test05_flex_grid.py EFFFFFFFFFFFFFFF [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TransportPCEPortMappingTesting.test_01_rdm_device_connection _ cls = @classmethod def setUpClass(cls): > cls.processes = test_utils.start_tpce() transportpce_tests/2.2.1/test05_flex_grid.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_tpce(): if 'NO_ODL_STARTUP' in os.environ: print('No OpenDaylight instance to start!') return [] print('starting OpenDaylight...') if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': process = start_lighty() start_msg = LIGHTY_OK_START_MSG else: process = start_karaf() start_msg = KARAF_OK_START_MSG if wait_until_log_contains(TPCE_LOG, start_msg, time_to_wait=100): print('OpenDaylight started !') else: print('OpenDaylight failed to start !') shutdown_process(process) for pid in process_list: shutdown_process(pid) > sys.exit(1) E SystemExit: 1 transportpce_tests/common/test_utils.py:229: SystemExit ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! =================================== FAILURES =================================== _________ TransportPCEPortMappingTesting.test_02_rdm_device_connected __________ self = def test_02_rdm_device_connected(self): response = test_utils.check_device_connection("ROADM-D1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:53: AssertionError ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for pattern 'Transportpce controller started' in karaf.log... Pattern found! OpenDaylight started ! starting simulator roadmd in OpenROADM device version 2.2.1... Searching for pattern 'Data tree change listeners registered' in roadmd-221.log... Pattern found! simulator for roadmd started ----------------------------- Captured stdout call ----------------------------- execution of test_02_rdm_device_connected _________ TransportPCEPortMappingTesting.test_03_rdm_portmapping_info __________ self = def test_03_rdm_portmapping_info(self): response = test_utils.get_portmapping_node_attr("ROADM-D1", "node-info", None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_03_rdm_portmapping_info _____________ TransportPCEPortMappingTesting.test_04_rdm_deg1_lcp ______________ self = def test_04_rdm_deg1_lcp(self): # pylint: disable=line-too-long response = test_utils.get_portmapping_node_attr("ROADM-D1", "mc-capabilities", "DEG1-TTP") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:73: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_rdm_deg1_lcp _____________ TransportPCEPortMappingTesting.test_05_rdm_deg2_lcp ______________ self = def test_05_rdm_deg2_lcp(self): # pylint: disable=line-too-long response = test_utils.get_portmapping_node_attr("ROADM-D1", "mc-capabilities", "DEG2-TTP") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:82: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_rdm_deg2_lcp _____________ TransportPCEPortMappingTesting.test_06_rdm_srg1_lcp ______________ self = def test_06_rdm_srg1_lcp(self): # pylint: disable=line-too-long response = test_utils.get_portmapping_node_attr("ROADM-D1", "mc-capabilities", "SRG1-PP") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:91: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_rdm_srg1_lcp ____________ TransportPCEPortMappingTesting.test_07_device_renderer ____________ self = def test_07_device_renderer(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-device-renderer', 'service-path', { 'modulation-format': 'dp-qpsk', 'operation': 'create', 'service-name': 'testNMC-MC', 'wave-number': '0', 'center-freq': '196.05', 'nmc-width': '80', 'nodes': [ { 'node-id': 'ROADM-D1', 'src-tp': 'SRG1-PP1-TXRX', 'dest-tp': 'DEG1-TTP-TXRX' } ], 'min-freq': 196.00625, 'max-freq': 196.09375, 'lower-spectral-slot-number': 749, 'higher-spectral-slot-number': 763 }) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Interfaces created successfully for nodes: ', response['output']['result']) E AssertionError: 'Interfaces created successfully for nodes: ' not found in 'ROADM-D1 is not mounted on the controller' transportpce_tests/2.2.1/test05_flex_grid.py:121: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_device_renderer __________ TransportPCEPortMappingTesting.test_08_degree_mc_interface __________ self = def test_08_degree_mc_interface(self): response = test_utils.check_node_attribute_request("ROADM-D1", "interface", "DEG1-TTP-TXRX-mc-749:763") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 503 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:127: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_degree_mc_interface _________ TransportPCEPortMappingTesting.test_09_degree_nmc_interface __________ self = def test_09_degree_nmc_interface(self): response = test_utils.check_node_attribute_request("ROADM-D1", "interface", "DEG1-TTP-TXRX-nmc-749:763") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 503 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:146: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_degree_nmc_interface ___________ TransportPCEPortMappingTesting.test_10_srg_nmc_interface ___________ self = def test_10_srg_nmc_interface(self): response = test_utils.check_node_attribute_request("ROADM-D1", "interface", "SRG1-PP1-TXRX-nmc-749:763") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 503 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:164: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_10_srg_nmc_interface ___________ TransportPCEPortMappingTesting.test_11_roadm_connection ____________ self = def test_11_roadm_connection(self): response = test_utils.check_node_attribute_request( "ROADM-D1", "roadm-connections", "SRG1-PP1-TXRX-DEG1-TTP-TXRX-749:763") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 503 != 200 transportpce_tests/2.2.1/test05_flex_grid.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_11_roadm_connection ________ TransportPCEPortMappingTesting.test_12_delete_roadm_connection ________ self = def test_12_delete_roadm_connection(self): response = test_utils.del_node_attribute_request( "ROADM-D1", "roadm-connections", "SRG1-PP1-TXRX-DEG1-TTP-TXRX-749:763") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 503 not found in (200, 204) transportpce_tests/2.2.1/test05_flex_grid.py:197: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_delete_roadm_connection _________ TransportPCEPortMappingTesting.test_13_delete_srg_interface __________ self = def test_13_delete_srg_interface(self): response = test_utils.del_node_attribute_request("ROADM-D1", "interface", "SRG1-PP1-TXRX-nmc-749:763") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 503 not found in (200, 204) transportpce_tests/2.2.1/test05_flex_grid.py:203: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_13_delete_srg_interface ________ TransportPCEPortMappingTesting.test_14_delete_degree_interface ________ self = def test_14_delete_degree_interface(self): response = test_utils.del_node_attribute_request("ROADM-D1", "interface", "DEG1-TTP-TXRX-nmc-749:763") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 503 not found in (200, 204) transportpce_tests/2.2.1/test05_flex_grid.py:209: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_delete_degree_interface ________ TransportPCEPortMappingTesting.test_15_delete_degree_interface ________ self = def test_15_delete_degree_interface(self): response = test_utils.del_node_attribute_request("ROADM-D1", "interface", "DEG1-TTP-TXRX-mc-749:763") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 503 not found in (200, 204) transportpce_tests/2.2.1/test05_flex_grid.py:215: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_delete_degree_interface __________ TransportPCEPortMappingTesting.test_16_disconnect_ROADM_D1 __________ self = def test_16_disconnect_ROADM_D1(self): response = test_utils.unmount_device("ROADM-D1") > self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content)) E AssertionError: 409 not found in (200, 204) transportpce_tests/2.2.1/test05_flex_grid.py:220: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_disconnect_ROADM_D1 Searching for pattern 'onDeviceDisConnected:\ ROADM\-D1' in karaf.log... Pattern not found after 180 seconds! Node ROADM-D1 still not deleted from tpce topology... --------------------------- Captured stdout teardown --------------------------- all processes killed =========================== short test summary info ============================ FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_02_rdm_device_connected FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_03_rdm_portmapping_info FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_04_rdm_deg1_lcp FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_05_rdm_deg2_lcp FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_06_rdm_srg1_lcp FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_07_device_renderer FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_08_degree_mc_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_09_degree_nmc_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_10_srg_nmc_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_11_roadm_connection FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_12_delete_roadm_connection FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_13_delete_srg_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_14_delete_degree_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_15_delete_degree_interface FAILED transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_16_disconnect_ROADM_D1 ERROR transportpce_tests/2.2.1/test05_flex_grid.py::TransportPCEPortMappingTesting::test_01_rdm_device_connection 15 failed, 1 error in 335.60s (0:05:35)